yum install epel-* -y
yum install lolcat -y
yum install toilet -y 

toilet test
if [ $? -eq 0 ]
then
    echo "ok"
else
    echo "error: toilet not install"
fi

echo  test | lolcat
if [ $? -eq 0 ]
then
    echo "ok"
else
    echo "error: lolcat not install"
fi
